home *** CD-ROM | disk | FTP | other *** search
- Path: solon.com!not-for-mail
- From: seebs@solutions.solon.com (Peter Seebach)
- Newsgroups: comp.lang.c
- Subject: Re: This should really be a simple question for you C-freaks...
- Date: 5 Apr 1996 23:58:42 -0600
- Organization: Usenet Fact Police (Undercover)
- Message-ID: <4k516i$3f4@solutions.solon.com>
- References: <4jrue1$gsu@nyheter.chalmers.se> <4k0vd0$roo@news1.intercall.com> <4k3ueh$a76@news1.intercall.com>
- Reply-To: seebs@solon.com
- NNTP-Posting-Host: solutions.solon.com
-
- In article <4k3ueh$a76@news1.intercall.com>,
- Steven Ovits <engevar@intercall.com> wrote:
- >engevar@intercall.com (Steven Ovits) wrote:
-
- >>Even on the PC, getch() will only read the characters from
- >>the keyboard after the Enter key is pressed.
-
- >This was incorrect. getch() WILL read the key directly.
- >I apologize for any inconveniences I may have caused.
-
- Actually, that's incorrect too.
-
- getch() is not a C function. I have an implementation where it just does
- the same thing getchar() does, I have one where it can be caused to read
- keys directly, and one where it never reads keys directly. Sort of a
- collection, almost.
-
- In practice, the way you would read keys without waiting for an enter is
- that you ask in a newsgroup related to the implementation you've chosen.
-
- -s
- --
- Peter Seebach - seebs@solon.com - Copyright 1996 Peter Seebach.
- C/Unix wizard -- C/Unix questions? Send mail for help. No, really!
- FUCK the communications decency act. Goddamned government. [literally.]
- The *other* C FAQ - http://www.solon.com/~seebs/c/c-iaq.html
-